using System;
using System.Collections.Generic;
using System.Text;

namespace TidhiGanitam.DataModel
{
    public class KaranamuItem
    {
        string m_Karanamu;
        Rasi m_KaranamTime;

        public string Karanamu
        {
            get
            { return m_Karanamu; }
            set
            { m_Karanamu = value; }
        }
        public Rasi KaranamuTime
        {
            get
            { return m_KaranamTime; }
            set
            { m_KaranamTime = value; }
        }
        public KaranamuItem()
        {
            m_Karanamu = string.Empty;
            m_KaranamTime = new Rasi();
        }
        public string GetKaranamuString()
        {
            string retString = string.Format("{0} {1}", m_Karanamu, m_KaranamTime.DisplayFormat(Enums.DisplayFormat.LV));
            return retString;
        }
    }
}
